//
//  DataBaseManager.h
//  UI20_豆瓣电影storyBoard
//
//  Created by 王阳阳 on 16/1/7.
//  Copyright © 2016年 www.lanou3g.com 蓝鸥科技. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <sqlite3.h>
#import "DetailSecondModel.h"
@interface DataBaseManager : NSObject
{
    sqlite3 *dbPoint;
}
//打开数据库
- (void)openDB;
//创建表格
- (void)createTable;
//增加
- (void)insertMovie:(DetailSecondModel *)m;
//查
- (NSMutableArray *)selectMovie;
//删
- (void)deleteMovieWithName:(NSString *)movieName;

+ (DataBaseManager *)shareInstance;
@end
